package jee.boot.entity.auth;

import jee.boot.common.annotation.Table;
import jee.boot.common.basic.DataEntity;
import jee.boot.common.utils.SpringEnvironmentHolder;

/**
 * 员工
 */
@Table(name = "tt_employee")
public class Employee extends DataEntity<Employee> {
    private static final long serialVersionUID = 1L;
    private String code;
    private String name;
    private String email;
    private String phone;
    private String userType;

    public Employee() {
    }

    public Employee(String id) {
        super(id);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }
}
